package com.example.demo.model;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by zouwenchang on 2018/1/29.
 */
@Entity
@Data
@Table(name="t_products")

public class productTable {
    @Id
    private Integer Id;
    public productTable(){

    }
    @Column(name="product_title")
    private String proTit;
    @Column(name="product_desc")
    private String proDesc;
    @Column(name="product_star")
    private String proStar;
    @Column(name="product_img")
    private String proImg;
    @Column(name="product_types")
    private String proTypes;


}
